<%@ page language="java" import="java.util.*" pageEncoding="utf-8" %>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
    String path = request.getContextPath();
    if (path.length() > 0) path = path.substring(0, path.length() - 1);
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>


<jsp:include flush="true" page="/view/inc/incTop.jsp"/>
<!-- head-->
<script type="application/javascript">
    function showPage(url) {
        window.frames.page.src = url;
    }
</script>
<div class="row">
    <div class="col-sm-2">

        <div class="row">
            <div id="jquery-accordion-menu" class="jquery-accordion-menu white " style="
             float:  none;
             box-shadow: 0 1px 5px rgba(0, 0, 0, 0.17);
             margin: 10px;
             border-radius: 8px;
             overflow: hidden;
             position: absolute;
             ">
                <div class="jquery-accordion-menu-header" id="form"> 类别</div>
                <ul id="demo-list">
                    <li class=""><a href="#" onclick="showPage('<%=path %>/good/goodAll.action')">
                        全部
                    </a>
                    </li>
                    <s:iterator value="#request.classList" var="clazz">
                        <li class=""><a href="#"
                                        onclick="showPage('<%=path %>/good/goodByClass.action?classId=${clazz.classId}')">
                            <s:property value="#clazz.className"/>
                        </a>
                        </li>
                    </s:iterator>
                </ul>
            </div>
        </div>
    </div>
    <div class="col-sm-10">
        <iframe id="page" height="700px" width="100%" src="/good/goodAll.action"></iframe>
    </div>
</div>
<!-- Nav tabs -->


<!-- Tab panes -->
<%--<div class="tab-content">
    <div role="tabpanel" class="tab-pane active" id="home">...</div>
    <div role="tabpanel" class="tab-pane" id="profile">...</div>
    <div role="tabpanel" class="tab-pane" id="messages">...</div>
    <div role="tabpanel" class="tab-pane" id="settings">...</div>
</div>--%>
<!--foot -->
<jsp:include flush="true" page="/view/inc/incFoot.jsp"/>
<!--foot -->	